🎨 Palette: Add list truncation indicator to TodoDrawer - #400
🎨 Palette: Add list truncation indicator to TodoDrawer#400google-labs-jules[bot] wants to merge 1 commit into
Conversation
When the TodoDrawer limits the visible tasks (maxVisible), it previously
cut off the list without any indication, which diminished situational
awareness.
This change adds an explicit indicator ('... and X more tasks') at the
bottom of the list when tasks are truncated.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
已由 #412 实现,关闭 🎨这个 UX 判断是对的 —— 静默截断列表确实会让用户失去情境感知。功能已经合入 main(#412,commit main 上的现状( {todos.length > maxVisible && (
<Box flexDirection="row">
<Box width={6}><Text> </Text></Box>
<Box flexGrow={1}>
<Text color={COLORS.text.muted} dimColor>
... and {todos.length - maxVisible} more task
{todos.length - maxVisible === 1 ? '' : 's'}
</Text>
</Box>
</Box>
)}对齐( 重复提交问题同一个
同批处置
|
Understood. Acknowledging that this work is a duplicate of #412 and is already merged. I am stopping work on this task. Thank you for the guidance on checking git logs and open PRs to avoid duplicates, as well as the suggestion to make |
💡 What: Added a truncation indicator (
... and X more tasks) to theTodoDrawercomponent when the number of todos exceeds themaxVisiblelimit.🎯 Why: To improve situational awareness. When lists are truncated without visual feedback, users may not realize there are hidden tasks.
📸 Before/After: Visual indicator added at the bottom of the list when truncated.
♿ Accessibility: Improved structural context for keyboard users navigating the UI, clarifying that there are additional items beyond the visible window.
PR created automatically by Jules for task 18060506747365892990 started by @YoungSx